/**
 * 角色管理
 */
const Sequelize = require("sequelize");
const sequelize = require("../database/db-sequelize");

const Role = sequelize.define('role', {
    id: {
        type: Sequelize.STRING,
        unique: true,
        autoIncrement: true,
        primaryKey: true
    },
    rolename: {
        type: Sequelize.STRING
    },
    remark: {
        type: Sequelize.STRING
    },
    status: {
        type: Sequelize.STRING
    }
}, {
    freezeTableName: true,
    timestamps: false
});

module.exports = Role;